cleaning
[RRRRHHHH_Code] / ruralHouses client / src / domain / Account.java
index 19fc1f5..03b334e 100644 (file)
@@ -4,7 +4,6 @@ import java.io.Serializable;
 import java.util.Arrays;
 
 
-
 public class Account implements Serializable {
 
        /**
@@ -22,8 +21,9 @@ public class Account implements Serializable {
        private boolean admin = false;
 
        
-       
 
+
+       
        public byte[] getUsername() {
                return username;
        }
@@ -40,6 +40,7 @@ public class Account implements Serializable {
                return admin;
        }
 
+       
        public void setAdmin(boolean admin) {
                this.admin = admin;
        }
@@ -62,8 +63,6 @@ public class Account implements Serializable {
                if (getClass() != obj.getClass())
                        return false;
                Account other = (Account) obj;
-               if (!Arrays.equals(password, other.password))
-                       return false;
                if (!Arrays.equals(username, other.username))
                        return false;
                return true;